import store from '../../store'
const Other = () => {
    let {chatlog} = store.getState()
    let lis = chatlog.map((item,index)=>{
        return <li key={index}>{item}</li>
    })
    return(
        <fieldset>
            <legend>其他组件</legend>
            <ul>
                {lis}
            </ul>
        </fieldset>
    )
}
export default Other